package com.ruoyi.finance.mapper;

import com.ruoyi.finance.domain.AccountsReceivable;

import java.util.List;

/**
 * 应收账款Mapper接口
 * 
 * @author liuyu
 * @date 2024-10-28
 */
public interface AccountsReceivableMapper 
{
    /**
     * 查询应收账款
     * 
     * @param id 应收账款主键
     * @return 应收账款
     */
    public AccountsReceivable selectAccountsReceivableById(Long id);

    /**
     * 查询应收账款列表
     * 
     * @param accountsReceivable 应收账款
     * @return 应收账款集合
     */
    public List<AccountsReceivable> selectAccountsReceivableList(AccountsReceivable accountsReceivable);

    /**
     * 新增应收账款
     * 
     * @param accountsReceivable 应收账款
     * @return 结果
     */
    public int insertAccountsReceivable(AccountsReceivable accountsReceivable);

    /**
     * 修改应收账款
     * 
     * @param accountsReceivable 应收账款
     * @return 结果
     */
    public int updateAccountsReceivable(AccountsReceivable accountsReceivable);

}
